Binding and getting socket options