DHCP: throw error when client is in unknown or invalid state, merge two ifs.