Add server ws worker functionality