npm version: accurate information using Accept header.

See <https://github.com/npm/npmjs.org/issues/163>.