Removing dependencies

The app should stay auto-sufficient, and avoid to have to call external
code (so that we just have to put a jar in a shared classloader and have
a standalone webapp that could deactivate SSL things).