Hooked up socket listeners for profile sends and messages.