New test added to tests/tcp.c

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Rigorous validation of TCP connection strings

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>