Fixed socket.io connecting to wrong port