I'm getting an ArgumentException on line 234 of Nop.Core.WebHelpers. The exception is thrown by the property IsSecureConnection

My plugin is in the process of adding a message to the log when this happens. It's happening during development, while debugging in Visual Studio 2017. So, the connection is not secure.

When I end the debugging session, and start it up again, of course the log message didn't make it to the database, but the site runs. Maybe this should be in a try/catch, defaulting to false?

Dan