Fix stud SSL queue as per DATASET-908
Fix segfault when no server available (DATASET-871).
Merge remote-tracking branch 'origin/joyent/feature/miscfix/2013Q3' into joyent/release/2013Q3
Update joyent