Added get_mime() function

The function mime_content_type was deprecated and currently removed in PHP 5.5, though it is still used in whatsprot.class.php.