Properly handle undefined opts
emit a peer event as per signaller pre 0.8
Fix simple example
gendocs
Bump version to 0.8.1