channel method in pubsub
tests
wait_for_body_middleware tolerates parsing errors
merged with master