Provide the remoteAddress of the connecting client to facilitate IP origin checking.

Note that we compare the local and remotes addresses to see if we are connecting on localhost so that test clients don't have to worry about IP addresses.