Unified error messages.

All error messages are now created using the error_code function from
libkraknet (generic module).