Modify to use sockethelpers library.
Update reference manual.