Add some basic proxy stuff to RestClient