internal typesense server passing ipv6 to ipv4

@kdevan ive been really struggling getting a HA cluster running. Did you ever venture in to trying to use this same method for a cluster?

Here was my attempt, anything seem glaringly obvious to you?