manger the ServerSocket for server with Java