Small lib for implementing protocols on top of TCP & TLS