remove socket lookup
Merge pull request #512 from andymckay/1021991-2

remove socket lookup