xrootd4j: Null terminate several strings

I observed that xrdfs is behaving non-deterministically and suspect it
expects the response to kXR_locate to be null terminated. The spec doesn't
state whether the string is null terminated or not, but the non-determinstic
behaviour goes away when it is null terminated.

After careful reading of the spec, I concluded that then open and login
strings should use null terminated strings too.

Target: trunk
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6648/
xrootd4j: Add getters to ErrorResponse

To allow plugins to intercept and translate errors, the error number
and message is made available through getters.

Target: trunk, 1.3
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6821/
Fix IPv6 reply for kXR_locate request

This patch implements the format actually recognized in the
client, not the obviously flawed format described in the
xrootd spec.

Target: master,1.3
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7023/
Merge branch 'fix/ipv6'