Stop get_peer_addr() and client_addr() from using global