[x] All of your commits have been signed-off with the correct email address (the same one that you
used to sign the CLA) Hint: use the -s argument when committing.
[x] If This PR fixes an issue, that you reference the issue below. OR if this is a new issue that
you are fixing straight away that you add some Description about the bug and how this will fix it.
[x] If this is new functionality, You have added the appropriate Unit tests.
Please make sure that the following boxes are checked before submitting your Pull Request, thank you!
We are using this interface to perform IPv4-only lookups. It may also help those looking for other hostname resolution behavior like https://github.com/eclipse/paho.mqtt.java/issues/475
If there's interest in merging this I am happy to add javadocs as well as clientv5 modifications