Add request/response debugging.
Replace parameter placeholders in header part of request.