Catch IllegalArgumentException from HTTP parser. Add a bit more logging. (lp:1332706).