added socket documentation to native section