made socket polymorphic for tcp/ssl interop
factored loop out
added basic ssl options to listen_ssl interface
added empty ssl test