- Performing a linear search instead of binary search on the err_msg_map array.
- Added conditional compile flags for support to IPv6.