I basically took [test-tls-set-ciphers.js](https://github.com/joyent/node/blob/master/test/simple/test-tls-set-ciphers.js) and modified it.