Make listening on UDP port optional