Using writeStream for proxy log