Added the getResponseHeaders()

This function facilitates the retrieval of header information from the HTTP API response.