Fix-up outbound resource and add tests for new methods.
Add docstrings.
Better parameter checking.
Factor out sending failures a bit.
Use _mkfail for errback too.
Add support for null content in replies.
Merge branch 'develop' into feature/issue-420-fix-up-outbound-resource
Merge branch 'feature/issue-420-fix-up-outbound-resource' into develop