test(protocol): updated the url test case to ensure no explicit protocol is specified if https is not set
fix(protocol): updated the url generator to specify no protocol (falling back to whatever protocol is used to load the page) if https is not requested