Multi-packet support.
TODO: Better threading support!