pass in headers to restclient