Simple PHP Class for handling HTTP Request