Adapting to the functionality of the upcoming SocketClient
Handling multiline responses through buffering