[COOK-2354] fix trailing comma bug in listen option
Merge pull request #5 from dwradcliffe/COOK-2354

[COOK-2354] fix trailing comma bug in listen option