[PATCH 2/4] winhttp: Factor out socket_send_complete() function.