Establish host session immediately for local devices

Otherwise the spawned zed-server may time out and shut down.
Allow passing the desired output format to ByteArray#toString