TCP socket can deal with concatenation of json messages