Major bug -> crashed, assuming 1 line per socket read is wrong