Adding MockHTTPAdapter for test/dev modes