Fix a bug where the API servlet was not resolving proxies before logging
the client IP address.
Fix determination of the client IP when connected through proxies.
Remove trailing newline when logging through Flume.
Typo in the flume config template file
Add logging message in case of servlet initialization error