Fixes client to use the correct URL for the socket connection