Add socket.io support, make ready only fire after http server is up