Here are the context diffs for the mods to the socket command. Use patch to apply these diffs to your copy of the source tree.