Update proxy.rb

added buffer flag