sm: handle incoming connect request