Use socket.io to retrieve log messages
Use socket.io to stream log messages
Provide a way to specify max result count
Add socket.io library