Shorter shellcode
Improved encoding for some strange cases (related with #4423)
Avoid some issues with ssh keys