Set the http/https protocol correctly..

Note: This is already fixed correctly in “master” and “feature/bolt2”.
Fixes #1413