removed unused method
removed workaround with apache http-client