Always connect to socket io on whatever the current window.location.origin is