Added send match event.    Added socket stuff for web client.