Crash fix, converting tabs to spaces

* Fix a crash if the connection drops
* Added the name of the opcode in the logs
* Converted every tabs to spaces
* Can now read multiple messages