rsync_socket
int rsync_socket(const struct opts *, int, const struct fargs *);
rc = rsync_socket(&opts, sd, fargs);
rc = rsync_socket(&opts, fds[0], fargs);