Move HTTPURLConnection to Scala
Remove `pragma: no-cache` in request
Minor: Comment, indent
Small changes to Actions dialog

- rename instance
- move init code
- hide set service values if no service of type is available
Use Apache HTTP Client for embedding/proxying

- refactor HTTPURLConnection
- HTTP client handles gzip compression
- improve proxying of headers
- add charset to text/css for aggregated resources
- persistence proxy: close stream
- move Credentials to http package
- embedding servlet filter supports HTTP client configuration
- proxy portlet supports HTTP client configuration
- move some tests
- fix indentation
Fix headers tests
Move and rename
Form Builder Swedish resources from contributor
Support XVT in success-message and error-message, implement #1847
Fix #1690 "Comma-separated roles fail in persistence layer"
Improve HTTP client architecture

- ApacheHttpClient
  - a separate concrete client
- ApacheHttpUrlConnection
  - only a facade to ApacheHttpClient
- remove PlainHttpClient
- APIs use abstract HttpClient
- also don’t send orbeon-embeddable=true when not needed
Refactor based on code review

- move code out of API
- remove CookieManager as Apache Http Client handles this
- indent
For #1808: stream requests

- add StreamedContent
- propagate Content-Length with Content
- add property to enable/disable request chunking
- more cleanup or ApacheHttpUrlConnection
- HttpUrlConnection no longer used by
  - Connection long uses
  - persistence proxy
Close stream, minor refactoring
Upgrade SLF4J
For #1808: use SLF4J

- use jcl-over-slf4j
- use slf4j API dependency
- remove passing of ServletContext
- log with SLF4j instead
- add basic logging
Proxy portlet: add log4j

- add placeholder liferay-plugin-package.properties
- it’s possible to tell Liferay to copy over its log4j.jar, but it’s unclear whether this is a good idea or not
- so for now we package our own JAR files
Upgrade log4j
For #1808: Embedding API supports passing explicit headers
Try to log tests failing