parse received client messages
fix various crashes found via smoke-testing