updated udp-server: using async methods, merged tcp and udp argument-class