Refactor receive method name
Remove unused method
Client#on_receive should be private
Change method name from #run to #connect
You can register callback via Client#on_message
Client#on_event registers callback
Remove debug code
Client#authenticate only supports PLAIN mechanism for now
Remove Client#domain util method
Add some documentation about Client class usage