[tor-commits] [stem/master] Add basic socket functions to Relay class