added httpcomponents-core as dependency.