Update for 1.0 changes
Add javadoc for write()
Rename write() to sendReply()

Should be a bit more intuitive.
Register MessageListener
Update for new sendReply() method