split out setRemoteDescription