Task #540 Refactoring and improvement of DHCP client