Added ability to customize the collector port through options

Useful if you need to run multiple ones in parallel on the same machine. Also fixed the parameter being passed into the collector constructor.