Bug 924702 - Rewrite the app:// protocol handler in c++ r=jduell