* (because you cannot add connection logger to existing connection).
* @throws CoreException if browser can't be created because of conflict with connectionLogger
*/
synchronized Browser getOrCreateBrowser(final SocketAddress address,
final NamedConnectionLoggerFactory connectionLoggerFactory) throws CoreException {
Browser result = address2Browser.get(address);
if (result == null) {
ConnectionLogger.Factory wrappedFactory = new ConnectionLogger.Factory() {
public ConnectionLogger newConnectionLogger() {
return connectionLoggerFactory.createLogger(address.toString());