separate nsstream