move more HTTP logic into splunkclient_http module