XD-915a: Apply to tcp modules

Yday's PR actually broke tcp modules (-ip dependency was there thanks to syslog).

This converts tcp modules to new form, and adds Tests for tcp modules. I'm not too happy with the TcpSink though, may be too simplistic and have synchronization issues.

Funnily enough, running this on a full build breaks my build AGAIN. Works fine on its own though.