Limit the number of DHCP requests sent by OSv

This patch added a constant which limits the number of DHCP requests sent by
the OS. If the limit is exceeded, OSv will continue without IP configuration.

Signed-off-by: Andrei Preda <andreipreda07@gmail.com>