fixed jsapi_.host_receivedAddress
reducing calls to getSocket()