x509 retry
check all asserts
add timeout for ssl_accept() and connect() and check if its blocking etc
