initial implementation of @ShadowService as well as fixes to connection recovery with SSE