Merge pull request #72 from da2ce7/master

add <algorithm> to MTRecordList.cpp
Merge pull request #74 from da2ce7/master

Libidn for windows
add error message when adjust_usage_credits returns nothing