Oops - when adding a sequence header to the SDP response, the size value needs to be cleared, not the buffer pointer.