make protocol handler work for Chrome