Update Imap.php

Allow self-signed certificates
Merge pull request #5 from andryyy/patch-1

Update Imap.php