Create internet.py

A module to check internet connection (simple, but useful in installer scripts)