Add type information for Chrome's Socket API

This patch adds type information for Chrome's Socket API.