Turn all qualified class names into imports.
Remove redundant casts.
Fix typo.
Use compression setting when creating the ClientPut command.
Allow the user to disable compression on inserts. This fixes #4329.

It also encapsulates the compression codec information into its own
container.
Remove method that is never called.
Clean up sorting peers by their status.
Declare all fields as final, simplify initialization.
More simplification.
Fix parsing the display name.
Fix whitespace.
Turn fields into local variables, remove unnecessary constructor.
Clear list of received peers when starting a new request.
Use an enum for the type of a query.
Remove some unncessary null checks.
Return new connections on getConnection(), add query execution methods.
Add ready-made statement processors to ease processing.
Move interface to end of file.
Add convenience method to close a connection.
Use method to close connection.