new preauth: handle conncetion first line of JSON