socket_transport_create: Accept a hostname to bind sockets to

Having the address to send to matters more than having the address
to bind to.  But without binding, we end up sending to 0.0.0.0.