Research an HTTP pluggable transport that actually uses a browser and a web server
Research like www.cs.utexas.edu/~shmat/shmat_oak13parrot.pdf makes it even more clear that it's worth exploring the possibility of actually using the software you are trying to emulate. That is, if you are trying to look like Skype, you better use the Skype binary. If you want to look like HTTP, you better use a browser on the client-side and a web server on the server-side.
We should look whether we can use stuff like Webkit to write a client-side transport, and a web server like nginx or apache to write its server-side.