DOCKER-26: implement '/containers/(id)/wait'