location.host on client for socket