Own framework for socket.io