Expose the local TCP address
Connection can potentially suffice the LocalAddr interface
Added an integration test for the local address
Use net.SplitHostPort()
Close the connection via defer
Re-arranged the check for a TCP transport
Assert only for LocalAddr()

This supports LocalAddr() from something other than net.Conn.