RF-13908: implement isSecure in ExternalContextWrapper