Fix Solaris warnings/errors for XrdHTTP

Fix Solaris warnings/errors for XrdHTTP