CMD over SSL using Secure Channel API