implement Request::isSecure