gofmt
added initial draft of HTTP Basic/Digest authentication support
added authorization cache logic