Add HTTPRequest Class and isValid method