adding SockettingListener
registering events in SockettingListener