Bloomberg takes a beating, Sanders defends socialism in fiery debate