WIP: Adding client testing and callback for start message.
Adding socket-related logging messages.
Adding comment with info on why this connect method doesn't seem to work.
Explicitly testing polling.
Working client test.

Fails occassionally though.
Increasing client test timeout.
Using random port for client test.
Implementing coverage for client code.
Properly merging server & client coverage.
Restructuring client tests to use promises.