fixed webproxy https protocol determin method