Update server.js

Added client to 'share agent' event signature