Fix for link data transfer encoding
Getting rid of the state dict in nodenet.py,
cleanup to follow