fix: bug in function registration logic has been fixed.
change: llsocket.opt.type and llsocket.opt.error API's has been moved into llsocket.
change: README.md has been updated.