Added headers to enable overriding counter increment/decrement in the URI.
Added header to enable overriding histogram value in the URI.
Improved exeption and header handling.