Use an HTTP constant for status

The request libaray does not offer constants; neither does the core http
module. There is [another project][1] for this but that's silly to add
for one value.

[1]: https://github.com/prettymuchbryce/node-http-status
Be more specific on HTTP auth errors
Break out write/read/update functions