i guess if your chunks won't be valid json, then you'll just have to reimplement tcp