Added support for RPC channel encryption in aria2rpc

Hi.

I wanted to use aria2rpc to connect to my aria2 server, but noticed I couldn't because aria2rpc doesn't support encryption. I added some code to support this and I thought I could share it. I'll appreciate any feedback.