[pys]add docstring for check_webserver_socket.py