Add encoding to output server streams