add new socket config option to bind to a specific interface by name

This can be used for example to limit which device to bind when
binding on IN_ADDR_ANY (0.0.0.0) or IN_ADDR_BROADCAST (255.255.255.255)
on a multihomed machine.

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>