Adds default headers to rest client calls.