add socket stream class, socket stream delegate