hwrt/serve.py: catch problem if no internet connection; updated some docstrings