Addresses #23
Better doc
Merge pull request #29 from peers/events

Emit connection/disconnect events.