I changed port into an NSNumber, which is necessary anyway for dealing with multiple config files in an upcoming PR.