fix ssl connect infinite retry
add auto increment alert message
fix ssl handshake timeout
add expiration support to type 2
add expiry and priority to mac
up version