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

This could probably solve #322.