[sockets] move socketpair code into transport common code
also use _configure_common_socket for cloexec/nonblock and rx/tx buffers
that should be the same for all socketpairs, outgoing and incoming sockets
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>