if you are connected with TLS or SSL then all packets you send over the connection are encrypted. Of course the Debug Log shows them in plain text, because they get decrypted inside the library.
if this is not secure enough for you then you should take a look at: