use proxy output stream