Handle HTTP proxy in npm (fix #1).