outputstream encoding
connection output writing is now an interface