use proper variable type
the p2p 'A' side act as the SSL server side