re-use ws WebSocketServer options parsing, for DRY, consistency, and enabling of more options
added documentation, to cover newly enabled options