support udp protocol

very simple modification for aggregating logs by udp protocol. In our team, we use logstash for centring logs then store it in mfs and elasticsearch.