client_check_address_changed() looks likely to do badly with ipv6 connections
Clients call client_check_address_changed() on every outgoing connection. This function then does a getsockname() on the socket using a sockaddr_in, and logs a warnings if the getsockname() fails.
Unless I'm missing something fundamental, this will spam users' logs with a bunch of EFAULT errors.