Update socket_fd.h

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