Update node.py

Made twisted 13.0 compatible