TCP support added 

I added TCP protocol support. So basically user can specify protocol="tcp" in target configuration to write to TCP port rather than UDP port.