[PATCH v2] winhttp: Use lock when attempting to send frame synchronously().