add https proxy support, fixed #8