fix proxy socket