  o Code simplifications and refactoring:
    - Removing is_internal_IP() function. Resolves ticket 4645.

