Add imapc ssl support and parse pattern for LOGIN command.