remove useless \r\n
send data to stream