Implemented tests for StreamSocketClient::close() - Fixes #26