This class implements an HTTP stream wrapper that can be used to access Web pages like files. It can submit HTTP POST and GET requests using regular PHP access functions with support for authentication and using proxy servers. It provides the stream wrappers ghttp, phttp, ghttps and phttps for performing HTTP GET and POST requests respectively using SSL or not. The can also be used as replacement of the regular HTTP stream wrappers under PHP 5.1 or later. Optionally, it can cache the responses of the same HTTP requests in files of a given directory.