Adds unique keys to client requests for session tracking.

- Sets test logging level to ERROR
- Adds a UUID key to the acquire and release emssages. This ensures that clients
  don't release locks they didn't acquire.
- Refactors the message sending and parsing to one class.
- Adds a loop and timeout to send and recv messages to make sure they're
  complete.