Add support for writing messages
EOS detection done with IOException now
Add support for multiple handlers using same data

Also support proper reading for 0 handlers
Notify of new connection
Add basic IM service