proxy支持https

ISSUE=IGNORE
supprt https

ISSUE=IGNORE
simplify code

ISSUE=IGNORE
Merge pull request #29 from ecomfe/1.0.0-dev

支持https和proxy支持https