Added init_conn() and smsc_t type