Revert "It still has problems with HTTPS. Working on it."

This reverts commit 42f23a5012829349a58ed64f1d13ffb125c9d34b.
Reverted previous commit
Now works correctly with HTTPS
In theory this should be the last beta version