Upgrade to latest libraries and fix UDP