api refactoring ongoing
fixes
Fix reset of vars
Fix net code
Fix websockets
Fix http
Fix up routematcher tests
Fixes for event_bus
Fix up deploy tests
Rename methods
Fix up the rest
Add missing methods / make more consistent
Adjust for latest api changes
a few more tweaks