The third arg to socket is not the same as the third arg to open. (squash into previous commit)