Issue #10: Add ability to access configuration and client id

Use a non-invasive method for accessing the configuration properties and
current client id of the socket.

Additionally, attempts to make the code style more uniform.

closes #10