stream support in selector
async write use a stream