udpsocket: add a close() method.
main: add command line options.

'surveillance_test start' will connect to a device and send a start message.
'surveillance_test stop' will connect to a device and send a stop message.