Fixes for private ip detection when a client is connected.