More work on JPKS client

- The client can now log in and stay connected to the server
- Added JPKSCommandListener to allow to listen for commands from server
- "JPKS encoding" implementation