Fix proxy bugs, add function to use proxy list