Api request fixes
Integrating Martini into Socket.IO server.
Better debugging output for Socket.IO communication