this is a follow-up PR from a suggestion in this comment
it adds a unit test that confirms that clients not permitted by
-rpcallowip are rejected immediately after accept(), before any
request bytes are read from the socket
specifically, the test checks that: no request is ever dispatched to the
server's request handler, the connection is closed without any response
to the client, no HTTPRemoteClient is ever registered for it, and the
client's request bytes are left completely unread in the socket's
receive buffer