Fix compilation on Linux
Make all DNS queries implementations of IDnsService
Added Semaphore typedef
Loops waiting for answers in timeoutable function