Small fixes for the ecp case.

These fixes orgin from making freeradius_ecp start working.
Merge pull request #25 from HaToHo/master

Changes for free radius_ecp