Added DNS with eth.setIP() for W5500. Also misc refactoring