Add a ping mechanism
Fix the wonky lookup_server_uri implementation

Credit: @abrondoned
Improve code readability
Remove unneccessary begin/end block
Reconcile with feedback from pull request
Write some specs
Merge pull request #105 from devin-c/tcp_ping

Add a ping mechanism