Added Peer#shutdown and a couple more cleanup methods.
Adds enum method and enum schema creation
Makes peer connections quickly shutting down.
Adds enum feature.
Added is_jruby? condition to Peer.shutdown