Test to connect through imap over http