@Override
			public void run(){

				Socket sock = null;
				BufferedReader reader = null;
				BufferedWriter writer = null;

				try{
					sock = ss.accept();

					reader = new BufferedReader(new InputStreamReader(sock.getInputStream(), Charset.defaultCharset()));
					writer = new BufferedWriter(new OutputStreamWriter(sock.getOutputStream(), Charset.defaultCharset()));

					reader.readLine(); // we really don't care what the client says, he's getting the special regardless...

					writer.write(CANNED_RESPONSE);
					writer.flush();

				}catch(Exception e){
					e.printStackTrace();
				}finally{
					try{
						Closeables.close(reader, true);
						Closeables.close(writer, true);
						sock.close();
					}catch(Exception e){
						e.printStackTrace();
					}
				}
			}
A simple SSL(TLS) server for which we can test against
to ensure that the SSL connection can (or cannot) be established.

@author jzarfoss
ribbon-httpclient/src/test/java/com/netflix/client/testutil/SimpleSSLTestServer.java