Rename _currentPort to currentPort and _basePort to basePort.
Add a constructor that sets currentPort. Remove the basePort field.
Add tests for the constructor.
Add overloads to support named parameters.