Added client-server connection testcase for UDT

see issue #1290.