Make fixes so this stuff will (almost) compile on 4.3 BSD
Add my own (crappy) inet_ntop implementation

4.3 BSD does not provide inet_ntop, so we have to do it ourselves