Removed double declaration of socket library