User configurable encoding for networks

That `send` method goes away soon.