support https_proxy and setting npm proxy (issue #204)