Agent headers 140915

If you want a java library for mocking server responses, you could look at this one. 
https://github.com/square/okhttp/tree/master/mockwebserver
I've only used in Android, but should also be OK for plain Java I think (not sure how it hooks into the httpClient)...