Update socket_fd.cc

Patch ipv6 => https://gist.github.com/yysfire/4538720