WebSockets: don't treat an Array like the "options" object
test: add test case for "options" as the 3rd argument