First draft of additional headers support for restclient