adds working binary_handshake.rb and binary_handshake_spec.rb. all tests pass