Added a clientReceivedData method