support 'app' protocol; Fix #363

app://<host>/path. The 'host' part is essential