Added getting of X-Consul-xxx headers for cpp-netlib
Parsing headers for libCURL refactored to reuse common code