set-protocol.rb: script to issue SET_PROTOCOL requests