Add setting contentType to agent request
Apply custom config headers to request