Rearranged things, added some error handling
Added proxying through several proxy servers consequentialy in case of errors