Start both broadcast receiver and main loop in main

The correct termination of both processes is handled through signal handling (a ^C will trigger the proper termination of the server).

It had to be done the C-way as I was unable to find good libraries in C++ to do that.