Replace custom HTTP server implementation with apache httpcore
The client connector module uses a self writte HTTP server implementation.
Regarding possible security problems, the use of a well tested library is advisable.
apache httpcore contains a very basic HTTP server implementation, which should be enough for the localhost binding use case.
The steps are as follows:
1. add maven artifact to
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.2</version> </dependency>
2. Remove httpcore artifact from being pulled into android client
3. Rewrite code to use httpcore server facilities.
An example of a server can be found on