adds the parsing of the response headers. POST Request still doesn't work