Update ponyd/gateway.py