Move Connection#post and #cancel fully into shared examples

- Use do…end or single line let statements with curly braces
Make method names internally consistent

Rename valid_failure_response to post_failed_response_body to be consistent with cancel_failed_response_body.