net: avoid use of listener socket options on active open sockets
net: avoid use of listener socket options on active open sockets

This CL ensures we use the correct socket options for
passive and active open sockets.

For the passive open sockets created by Listen functions,
additional SO_REUSEADDR, SO_REUSEPORT options are required
for the quick service restart and/or multicasting.

For the active open sockets created by Dial functions, no
additional options are required.

R=golang-dev, dave, bradfitz, rsc
CC=golang-dev
https://codereview.appspot.com/7795050

gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,dsriram/golang,pombredanne/go-deleteme,apparentlymart/golang,pombredanne/go-deleteme,gnanderson/go,dsriram/golang,gnanderson/go,apparentlymart/golang,dsriram/golang,pombredanne/go-deleteme,tv42/old-go,dsriram/golang,apparentlymart/golang,apparentlymart/golang,tv42/old-go,tv42/old-go,gnanderson/go,gnanderson/go,gnanderson/go,apparentlymart/golang,pombredanne/go-deleteme,tv42/old-go,tv42/old-go,tv42/old-go,dsriram/golang,pombredanne/go-deleteme,dsriram/golang,tv42/old-go,apparentlymart/golang,pombredanne/go-deleteme,dsriram/golang,gnanderson/go