USERGRID-2393: added support for custom HTTP headers