emit logs to a websocket endpoint if configured

this replaces loggregator integration, so that logs are not linewise
deps
remove loggregator stuff from main