emit 'message' from server