HIVE-4763: add support for thrift over http transport in HS2 (Vaibhav Gumashta and MMike Liddell via Thejas Nair)