[automerger skipped] Refactor DHCP server with StateMachine. am: 1f20cb6617 am: db59c2f0be am: b963096dbe -s ours

am skip reason: Change-Id I6c09d9c371e9c4e71d8ba26adaed640e3b97437b with SHA-1 1f20cb6617 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/11524663

Change-Id: I94626fa61c6db53826cdf28617072aa84f1423a3