Allow configuring the port if specificed.

Closes #21