more UDP functionality; enhanced test