Modify isSecure() to reference scheme.