Added default event listeners for data socket