http://developer.mbed.org/users/sarahmarshy/code/HTTPServer/#c690fb2de477