Some fixes for the socket.io client

Hi, those fixes allow for query params for handshake authentication (socketio spec mentions that).
It also makes the client work on mako target