Optional $source argument added to getValidIpAddress and getIpAddress.

Allows the developer to optional specify the source array for the IP addresses. Defaults to $_SERVER.