Merge pull request #252 from larseggert/override-ntoh2

Add ability to override ntoh* functions