added socket stream initial code