browser side socket.io

From http://stackoverflow.com/questions/14084406/typescript-and-socket-io