add the possibility to pass params to headers