Convert to library project
Make more compatible with current version of Autobahn
Further compatibility, robustness improvements

There was an NPE in some init code that caused the whole app to
hang waiting for the read thread to join(); hopefully this will
prevent such tragedies
Don't use WeakReferences for the listener. That's silly