[#1] lasse_handler and related behavior implementation

Implemented cowboy handler for SSE.
You can achieve the same effect of the first 2 clauses on this function with a very simple list comprehension.