establish pattern for options
Merge pull request #2 from taotetek/master

problem: there is no ability to set or get socket options.