Simulates a gateway that sends http requests to the core