*/
public ServerConnection(Socket s, ServerConnectionManager mgr)
throws IOException {
this.s = s;
this.mgr = mgr;
ep = new Endpoint(s.getInetAddress().getHostAddress(),
s.getPort(),
mgr.getEndpoint().getClientSocketFactory(),
mgr.getEndpoint().getServerSocketFactory());
out = new BufferedOutputStream(s.getOutputStream());
in = new BufferedInputStream(s.getInputStream());