GSocket: Add function to set/get the broadcast setting on a socket