Nonconcave network utility maximization through sum of squares method