Only create openssl_locks if thread support is enabled
Define WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH if not defined
Consistently use p_snprintf
Use p_snprintf also in tests
WIP