Add command line option to specify the port to the example executable