socket.io should connect to window location hostname instead of an url