Get rid of some redundant code/variables
Better docstring for `read`
No longer need to check for empty messages
Remove old comments
WIP: Abstract client

Additional note: collect all messages at once using split instead of using a loop.