Updated socket bind string to use .format