OnData/Write approach for the proxy