FIX: web plugin should work behind web proxy too

With this modifications, the web plugin will work not only on base root (http://example.com), but also on path URLs like used with proxies e.g. mod_proxy (http://example.com/beets/)