Improved auto-fetch of PhantomJS if absent

Now using Arquillian Phantom Driver that fetches PhantomJS from a maven
repo, instead of requiring a direct download. This should help people
behind proxies, etc.

This new driver also allows for local PhantomJS installations to
override the fetched one, so people who have PhantomJS on their path,
for example, will see that one used instead of a downloaded one.

The test code itself requires a small change to include the
ResolvingPhantomJSDriverService, responsible for firguring out whether
to fetch a PhantomJS instance, or use an existing one.
Merge pull request #57 from andyclark/feature/alternative-phantom-js-fetcher

Improved auto-fetch of PhantomJS if absent
test against a real website using a bogus HTTP response code
Modified to log the request body during post
Merge pull request #63 from jeffriejoshua/master

Modified to log the request body during post
Set encoding="base64" in the HAR as appropriate.  Tests for both ways.
Merge pull request #68 from davidsickmiller/base64encoding2

Fix to Issue #67: HAR's content.encoding is not set for base64-encoded content
Increase max total connections and max connections per host for the HTTP client connection manager
ajout de commentaires
add some comments to BrowserMobHttpClient
Update org.apache.httpcomponents to 4.3.4 #48
remove use of deprecated class and method in PreemptiveAuth
Remove some debug log
improve latency calculation
Add cookie/cookieStore management
Save httpClientBuilder for modification since  CloseableHttpClient doesn't permit anymore to change parameters easily.
Rebuild the httpClientBuilder to get the CloseableHttpClient after each configuration change
Merge branch 'updateToHttpClient4.3' of dbpp:/home/git/browsermob-proxy into updateToHttpClient4.3
merge
merge
set default latency to 0
change the way we collect timings from connection and handshake due to the difference with the version 4.3.4 of apache httpComponent and the SSLConnectionSocketFactory