Simplifying client ServerSentEventsTransport

Refactoring which simplifies client ServerSentEventsTransport and will make fixing bug 3227 easier