add allow_hosts for security access in udp server