Force to_i on adapters for forwarded ports in VirtualBox
Improve network interface detection to avoid crash [GH-1480]