PHP: Relay POST and GET requests to a new URL, and output the result