Small optimizations.
Small optimizations.

- Compute crc inline while printing a packet.
- Refactor handling of multi-byte integer values.

Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server,Kegbot/kegbot-server