use enum class for ssl bool in listen socket. use std::array instead of C array. make test_listen_socket a bit more compact