Singularities of plane rational curves via projections