This fixes issue that was causing the memory containing the client login info to be overwritten with chunks of chat message data. This was happening because scanner.Bytes() returns a byte slice that is re-used for subsequent writes, so we need to make a copy of the data.
This fixes issue that was causing the memory containing the client login info to be overwritten with chunks of chat message data. This was happening because scanner.Bytes() returns a byte slice that is re-used for subsequent writes, so we need to make a copy of the data.
Fixes #75