Use symbols, not stings

Set the subnet in the options hash, rather than a bare variable.
Invoke self.debug() for diagnostic output.