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