bugfixes in http/sockets. updated api for sockets.
+ Sockets are working on all supported platforms and passed tests.
  Script and xhr transport on browser and http.request on nodejs
+ updated sockets api. on_connect event for server and connect method for
  client