Fix sp-setsockopt().
Add test for pubsub pattern.
Update TODO list in README.rst.