added basic support for socket.io and let client and server repositories connect to each other