Automated socket creation from index page