Wire up server to use event framework via middleware

So far, there's just one called "owner".