i have the same Question.
Any Idea ?

I “wireshark” a josm upload which work correctly and tried to clone the network comunication.
But it dont work. I attach my both Session,maybe somebody has an Idea.

JOSM Session:

And now the session of my little Python app:

And YES, i deleted my testtrack.