core:sdp parser: gracefully handle \n-terminated SDP