in reply to Net::RawIp

There is some interesting stuff here that you might learn something from.