Update restclient.rb

Added support for digest authentication