Add source tags into the protocol.
Upgrade protocol and allow key exchange.
Implements logout functionality.
Fix login and logout
Fix login and logout - javadoc.
Add build scripts.