Fixed some stack traces due to weird DHCP options and added better logging.