Add params param to imap_open

This is what I wanted for #62