test for http and https source protocols