Mocks for Http req/resp factories made
Modify to compilation requirements of g++