add tlshand.$O to Makefile, don't include bio.h in tlshand.c and also only typedef TlsSec once.