Added protocol.rb from 1.8.
Bumped version to 1.0.0.