Fix race condition in send_connect_success between ignore_data and the encoder's copy of the socket.
Fix race condition in Socket::Impl::connect() between Connect's promise and io::poll.