Bug fixes:

* [#5] Fixed sometimes sending packet data too early.
