move the init connect response code to conn.