Update pinba_http.py

added comments to functions