s3-rpc_client: try to use socket_addr if available in rpc_pipe_open_tcp() (bug #9426)