conn = mutt_socket_select_connection (host, port, 0);
conn = mutt_socket_select_connection (&mx, 0);
int imap_select_mailbox (CONTEXT* ctx, const char* path){  IMAP_DATA* idata;  CONNECTION* conn;  char host[SHORT_STRING];  int port;  char curpath[LONG_STRING];  char* mbox = NULL;  strfcpy (curpath, path, sizeof (curpath));  /* check that the target folder makes sense */  if (imap_parse_path (curpath, host, sizeof (host), &port, NULL, &mbox))    return -1;  /* and that it's on the same server as the current folder */  conn = mutt_socket_select_connection (host, port, 0);  if (!CTX_DATA || !CONN_DATA || (CTX_DATA->conn != CONN_DATA->conn))  {    dprint(2, (debugfile,      "imap_select_mailbox: source server is not target server\n"));    return -1;  }  if (imap_sync_mailbox (ctx, 0) < 0)    return -1;  idata = CTX_DATA;  /* now trick imap_open_mailbox into thinking it can just select */  FREE (&(ctx->path));  ctx->path = safe_strdup(path);  idata->state = IMAP_AUTHENTICATED;    return imap_open_mailbox (ctx);}