added methods from zsock_option.h