Add accept header validation.
Add support for pluggable SHA-1 and RNG implementations.