Get response header and allow to posprocess body with this information

The main purpose of this is to allow PJsonCurl to parse response only when response content type is 'application/json'. Ofcourse, this is only an option and will not change the default behaviour to parse all responses.