working on the socket.io connector to make it more web friendly