Socket.getOption

Common case of getting integer and boolean options.

Meta