os: Include netmask in os.networkInterfaces()

re #3765 and #5432
fixes #4743