support http proxy without change the interface
improved regular expression so that proxy does not need to start with http
fix a stupid mistake
Merge pull request #5 from jihao/support_http_proxy_better

Support http proxy better