Improved Hackey TCP mode.

Probably will remove this later... interesting to look at, plus good for
iOS presentation.