Downgraded HttpClient to Apache. Fixed some other bugs, plus added the possibility to clone component.