Revert "Fixed wrong hsts protocol comparison (#146)."

This reverts commit 279c46e6a2384017fe841bc46c4ce3a9844b5e3e.
Revert "Move hsts check back to resource-request-starting (#146)."

This reverts commit 2ce5f3ef904705b813334d7f6183f858e4d6b2ec.
Change URI of webframe instead of webview (#146).

To change to URI of the webview does not work if the page contains a frame
with a URI to a host that will be changed to https for the HSTS. In this case
the frame URI is used as page URL, so that the user does not see the page he
requested.
Instead the URI of the webframe should be changed. Thanks to Sébastien Marie
for pointing this out.