Added UDP input support