fix port handling in mpdf. Suggestion from http://www.mpdf1.com/mpdf/forum/comments.php?DiscussionID=802