add a Request object to encapsulate references to superglobals