[inspector_protocol] Handle redirects in all entry points

Previously, it was impossible to call dispatch() without calling
parseCommand() before, since the latter handled redirects. Now
one can call API methods in any order, and they all handle
redirects.

TBR=kozy@chromium.org

Change-Id: Id6ed4aa6596ecbea6d1229a5f03b69ae36a76d14
1 file changed