public int start(){
  started.compareAndSet(false,true);
  server.start();
  return server.getServerPort();
}

public int start ( ) { started . compareAndSet ( false , true ) ; server . start ( ) ; return server . getServerPort ( ) ; }
start the server and return the port that the server bound to .
