Implement redirection handling in initiator.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 49d8d5028fd89248bc6d74dea7cd09a88185d4c0)
Don't blindly assume the target agreed to transition to Full Feature Phase;
if we got a Login Response PDU without the "T" bit set, try again with
an empty request.  This fixes interoperability with COMSTAR.

Reviewed by:	mav@
Tested by:	mav@
MFC after:	1 week

(cherry picked from commit ae0e93b2247159ea6a1c08de59f85081e10446ce)
Get rid of unneccessary argument.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 9975d0a2a6425a1d7affd9ed8615f3f9d43d1b4f)
Remove redundant code.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 517f4fff73c6b7fef6dd61dc9a2c797c2a073f9e)
Use proper term in debug messages.

MFC after:	1 month
Sponsored by:	FreeBSD Foundation

(cherry picked from commit 42b427986a951350e36787287a22cf9dfc81417d)
Remove unused variable.

(cherry picked from commit 0c37f4aebf437b4a5042a339474f87f7283dae81)
Improve code a little; no functional changes.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 7e30e0160a5ae7d50e45b1024674298c6ef8c981)
Fix memory leak, reported by Coverity.

CID:		1229996
(cherry picked from commit eb9cf8a129025d43642a46baef699352458bd768)