UDP Discovery on Server

Hello, I've added a small functionality to the server. 
Now it is capable of receiving broadcast messages and reply with a special message containing the address used by the server itself.

I've wanted to develop this in order to avoid hardcoding IPs and ports on clients.
The only hardcoded thing now is the port for the broadcast service, but I'm sure we will figure out something (or just define a new standard port, Microsoft style).

I didn't have time to compile and run this under GNU/Linux, would you please test? 
In case of errors, please attach the log file and I'll do my best to restore the virtual machine (apparently, the latest Kubuntu's alpha is not *that* stable).