Added FS deps to socket-related library functions