lib: Added variants of sendfd and sendreq that take sendmsg flags.