Adds styling to socket connection error pages