public void sessionEstablished(Session session) {
Socket socket = session.getSocket();
connection.setInternalIP(socket.getLocalAddress().getHostAddress());
connection.setInternalPort(socket.getLocalPort());
OutgoingVER ver = new OutgoingVER(null);
ver.setSupportedProtocol(getSupportedProtocol());
send(ver, false);
OutgoingCVR cvr = new OutgoingCVR(null);
cvr.setEmail(owner.getEmail());
send(cvr, false);