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.
Merge pull request #65 from SikiFn/patch-8

Added get_mime() function