_logger.severe("Error layering SSL over the socket");
_logger.severe("Error layering SSL over the socket: " + e);
    private Socket negotiateSSL(Socket sock) throws Exception {        SSLSocket sslsock;        try {            sslsock=(SSLSocket)_factory.createSocket(sock,sock.getInetAddress().getHostName(),sock.getPort(),true);            sslsock.setUseClientMode(false);            _logger.fine("Finished negotiating SSL - algorithm is " + sslsock.getSession().getCipherSuite());            return sslsock;        } catch (Exception e) {            _logger.severe("Error layering SSL over the socket");            throw e;        }    }