Fix argument order for ws stream pass

head and error handling was broken before this commit.
Merge pull request #560 from meteor/fix-ws-arg-order

Fix argument order for ws stream pass