Documentation
Guard against NullPointerException
Don't use the WebOfTrust class:
- It won't be available in the client which copypasted this reference implementation
Add more "final"
Guard against NullPointerException
Logging
Fix missing cleanup upon connect() failure
Correct log message