'dup' ought not be accessible in the API

The dup flag is set when resending, which is done by the library
rather than by the application. (For the minute anyway)