Change method visibility

Unlike other classes, the HTTPRequest class cannot be extended.