Backported the bugfix from http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31610 to 2.5.x
Merge remote branch 'origin/2.5.x' into 25-jhttpfix
Merge pull request #2387 from SniperSister/25-jhttpfix

Backported a bugfix for the JHTTP-Library causing broken updater