common: add logging and argument defaults to send_fds() and recieve_fds().