Adds log4j dependency
Moves Socket init to the jsp page in otder to proper handle context paths
Adds log4j properties
Adds proper logging
Smart event listener that will shutdown streamer if there are no connections