[GLib] Fixed Connection:HasUndispatchedPackets () returning false when there are 0 data packets queued but the connection hasn't sent its initial packet yet.