try {
this.socket = connection;
setIn( new BufferedReader( new
InputStreamReader( socket.getInputStream() ) ) );
outs = socket.getOutputStream();
setOut( new InternetPrintWriter( outs, true ) );
remoteHost = socket.getInetAddress().getHostName();
remoteIP = socket.getInetAddress().getHostAddress();
}
catch ( Exception e ) {
getLogger().error( "Cannot open connection from " + getRemoteHost() + " ("