Updated Request::getIsSecureConnection()

now works case insensitive

fixes #3147