test/connect: sync with tls api
test/connect: sync with tls api

ifduyue/libusual,mgjv/libusual,rabbitt/libusual,mgjv/libusual,mgjv/libusual,rabbitt/libusual,ifduyue/libusual,rabbitt/libusual,markokr/libusual,mgjv/libusual,rabbitt/libusual,ifduyue/libusual,markokr/libusual,markokr/libusual,markokr/libusual,ifduyue/libusual