Fix for CERT VU#210620: randomize DNS request IDs for every request
Avoid compiler warning about unused variable
Automatically initialize the resolv process
Don't do the debug printout if ipaddr is NULL
Merge pull request #888 from adamdunkels/pr/resolv-fixes

Resolv fixes, including CERT VU #210620