Socket API ref

Socket API ref