added simple stats collector server implementation using websocket connector generator