Revert "Load socketio after map."

This reverts commit e9dea9fa32eb8c44a972b40a98b48927359a40ac.