read mysql length encoded integers
mysql query response flow