Added safe_mode ini setting compatibility check before setting incompati...

Added safe_mode ini setting compatibility check before setting incompatible curl options. 

See http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=29475