Fixed IE https support

Bad comparison always returns http for IE even when the protocol is https due to missing colon.