http://mbed.org/users/donatien/code/HTTPServer/#d753966e4d97