Add ws_queue type

Targets #597.

~~Pair-programmed-with: Marcel Müller <com2040@gmail.com>~~
Pair-programmed-with: @TheNeikos
please forward the return value of the call itself.