require socket

was preventing host registration. maybe this isn't needed in other
versions of ruby, but it seems to be needed on 1.9.3