sdp.js: added parseCandidate and generateCandidate