doc: add docs for getsockname.