Fix duplicated "to" param in curl, Java, & C#