Socket.setOption

Common case for setting integer and boolean options.

Meta