Fix error determining if entire packet was in the buffer.
Fix error determining if entire packet was in the buffer.

The packet length is the length of the header (4 bytes) plus the payload length. We don't increment `m_offset` until we know that the entire packet is available.

mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector,mysql-net/MySqlConnector