preparation of header parameters move to common method call

prepareHeaderParameters() new method call impl