event: move eventmonitor to client
event: don't iterate over listeners when there are none
event: use JSON decoder instead of raw connection
container: include container name given by option