Added Socket.io library with chat integration