adds persistent config
adds tcp mode. Breaking change in JSON config
adds binary