use protocol used for loading page
Merge pull request #6 from jblarsen/master

use protocol used for loading page