Test to reveal odbcserver protocol bug
Delete odbcserver unused variables
Fix odbcserver warnings

These are signaled by -Wall
Fix signedness bug

The regression was introduced by making byte type signed.

Bitwise OR (|) applied to signed char (byte) and any longer type reqires the former to expand to the same size.
When the char is negative it is expanded with sign bit filling the extra bytes causing the unexpected result.