Add ws_queue type

Targets #597.

~~Pair-programmed-with: Marcel Müller <com2040@gmail.com>~~
Pair-programmed-with: @TheNeikos
You forgot to check the return value of this call.