index: better proxy string splitting logic
index: minor code cleanup