TcpLink unit test

Also adds MultiSignalSpy class which is useful for writing testing signaling in unit tests. Builds, boots, passes unit tests on all platforms.