https://github.com/domcleal/smart-proxy/commit/a7a57988f2a60a9bbd5ad3b83589991e1a28b546 fixes this