Normalize whitespace.
Reorganize imports.
Apply warning fixes suggested by IntelliJ IDEA.
Don't swallow exceptions when constructing the SSL factory.
Remove the unused SparkTestUtil::getPort.
Avoid strings and booleans in favour of rich types.
Refactored the integration tests to use a custom UrlResponseMatcher instead of JUnit's Assert.
Refactored the QueryParamsMapTest to use matchers.
Refactored the RequestTest to use matchers.