Improve custom domain proxying