Checks for header returned is null, rather than zero length array (was crashing, closing connection, never explaining problem).
Checks for header returned is null, rather than zero length array (was crashing, closing connection, never explaining problem).


git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@107090 13f79535-47bb-0310-9956-ffa450edef68

chibenwa/james,aduprat/james,rouazana/james,chibenwa/james,rouazana/james,rouazana/james,rouazana/james,aduprat/james,aduprat/james,aduprat/james,chibenwa/james,chibenwa/james