Fixes to querier, added proper user-agent header