Changing DNS discovery to use TXT. Enhancing HTTP error handling.