Debugging socket connection
Working socket event listener