closed #2450: Fixing HttpClientTest crashes on 64bit system.