     * @param {boolean} onlyRunning
     * @param callback()
     */
    public proxies(onlyRunning: boolean, callback: (error: any, response: Response, body: any) => void): void {
        this.setEndpoint('/proxies');

        if (onlyRunning) {
            this.setEndpoint('/proxies_running');
        }

        Request.get({
            url: this.host.href,