Correctly handle little endian
Fix remaining issues for mysql-async, everything works now