Stability enhanced with LastID

Server sent events have the option to carry an individual id. In case of a connection breakdown the lastid helps at reconnect to update the client to the most actual state.

In conjunction with the implementation of lastid I optimised the reconnect delay.