added port selection dialog for chatserver.java