ofproto: Add functions to get and set ofconn type and role.