parse: add function 'add_service_pids' to add associated pids to a list

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
listener: add support for spawning a UDP listening thread rather than a TCP server

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>