rename provider from 'socket' to 'socketFactory'