imap-send: use separate read and write fds