handling minification for socketfactory