Just 119 and >1024 seems a bit restrictive to hard code. Might be good to make the allowed port something to specify in configure, or at least allow the typical alternatives like 433 and 120.