Add tcp test support
Read tests from request instead of command line

This is much more versatile. One daemon can now check different
assets with different tests.