Added a method 'http()' for the Java DSL in order to allow a more typed configuration of the HTTP client.