wrapped emit 'data' event so it doesn't interfere with client data stream