A server socket is created with AF_INET6, but a client socket is create with AF_INET. Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>