Added support for network conenction check.
Updated README.