use predefined header, read listen port from command line