Removed extra variable in StaticDataServer class and added connect event log in the socket test