Without knowing that much about this area, i think https://mosh.org/ is a traditional choice if you need encrypted communication in a high packet loss environment.
UDP is certainly not known to improve traffic reliability in those environments. TCP is
UDP is certainly not known to improve traffic reliability in those environments. TCP is