Added net_check

Added net_check
Does `socket.error` help to narrow this down to only socket problems?