Changed npm request detection from using user-agent to using "accept" http header following http://wiki.commonjs.org/wiki/Packages/Registry#HTTP_Request_Method_and_Headers