Remove code for PHP<5.3, use PHP_VERSION_ID instead of version_compare() for version checks
Added rcube_utils::resolve_url()