I have created a server application that accepts connections over SSL. It's simple and works well enough. However, I'm wondering if there's a library out there that already does that. Ideally, it would be as easy to use as: authenticate with this certificate, listen on this port, and let me know when there's a new client connected. The library would handle threading, connections, disconnections, etc., whereas the application would handle the data exchange. A Google search didn't show me anything, so I don't know if something like that exists.
I have used Apache FTP (Java), so that's kinda what I have in mind. The biggest difference (other than JVM vs .Net) is that this application isn't FTP (or HTTP or any other standard protocol).
Does anybody know if something like this already exists or if I should continue using what I already have?