[PATCH 09/16] Refactor bhyve monitor register/unregister