Clean up dependencies

`commons-codec` and `commons-logging` are only used by the `commons-httpclient` dependency, so there should be no need to specify them explicitly and use different version than required by `commons-httpclient`.