Refactored packet structure. Basic server-side vaadin apis