add queue to socket class