Add specs for BasicSocket.

Add specs for BasicSocket#getsockopt and #setsockopt.
These specs specify how these methods use Socket::Option.