Mock HTTP requests on the server side in your PHP unit tests