fixed snoopy https request bugs.