Utilities for playn clients and servers.