fixed data loss with larger packets because Client.read was not reading
the whole array