Add support for webrtc-based sockets. Moved both backends behind a settings flag, SOCKET_WEBRTC.
Remove unused code.
Default to websockets, since it's more widely supported at the moment.
Rename global io to SocketIO. Updated webrtc library to pull in global name.
Added var for socket deps.
Remove console.log.
Formatting fixes.
Formatting fixes. For some reason, indented preprocessor directives cause compiler failures.
Comments.
Fix missing methods.
Fix style issues.
Don't include webrtc-specific code for websockets builds.
Fixed formatting.
License info for webrtc p2p library.
Merge branch 'incoming-merge' of github.com:modeswitch/emscripten into incoming