test: make test-tls-connect checks more strict
Check the error code on expected errors so that the introduction of different errors in refactoring is caught.
While at it, re-order modules alphabetically per test-writing guide.
Ref: https://github.com/nodejs/node/pull/14687#issuecomment-321015055
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test tls