Might you want to do:
```js
this.options = options || {}
```
since you expect it to be an object with:
```js
this.options.port
```
on line 15?