Sse

some improvements to the sse api