Make PostAgent use WebRequestConcern, adding options for Basic Auth and User-Agent.

This could probably solve #322.
OK, I'll readd specs for that.