http_sender: use non-blocking socket