Fixed bug with Host header, fixed bug with metadata.json being sent as string (rather than valid json).
Changed so that artifactory (or nexus) stores the original metadata, and it is altered by npm-artifactory when returning it.
Stopped putting invalid results (eg 404 or other errors) from the registry into artifactory.
Added support for specifying config file.
Added timeout support when querying registry (configured in config file).