Fix dynamic plugins import on Linux
Fix HSTS detection logic

Fixes issue #89