fix the bug that it cannot work with HTTPS PROXY