fixed the little/big-endian issue

All ints (16,32,64) are now correctly represented in Big endian order when they are transmitted to kafka and reconverted to little endian if the system the client is running on is little endian.

Also the metadata request now works for the first time! :+1: