updated mux, nat and udp to the new api