Allow port to be set via params to new