Fix infinite loop in tcp_socket::_sendv, closes #28.