Fixed an issue in the client code that was a result of a faulty if statement, that caused two asio async_reads to occur.