Revert "Added getclientaddr function"

This reverts commit bc1f088a28c06abe5cef9bb480a1ee6eb11d6f11.