Sri Lankan politicians have proposed legislation allowing rapists to marry their underage victims with consent.