[mesh] Emit mesh events on the mesh resource instead of on the resource object
[mesh] If there is not already an http server, create one