Update HttpsWebAPI to use ThreadSafeHttpConnection