Removing declaration of unused 'socket' in index.

Seems legit.