socket stream buffer updates