Socketio.v1 compat

I have updated the python client to be compatible with the newest version of Socket.IO server. This included a lot of changes to the core of the code to make the client work with the newer protocols.

All of the unit tests from the previous release are passing.