HPCC-8879 HTTPBinding exceptions should use #define for error code

Currently all the exceptions thrown in httpbinding.cpp are of the form
throw MakeStringException(-1, ...
This changes creates #defines for all of them (some shared) and replaces
-1 with whichever one is appropriate

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>