SERVER-14668 Add function to StringBuilder for formatting addresses