Implemented proxy-list shuffle optimization and added
associated tests.