[DNS Recovery]: Add a set of tests for the UDP socket module.

To make working on improving the UDP socket easier here is an
    initial set of tests for the existing interface.

cc @Matt-Esch @mranney @jcorbin