Updating missed reference to new socket class, handles user pasting
multiple commands in console