fix setsockoopt() invalid argument size

before patch:
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, "\1", 1) = -1 EINVAL (Invalid argument)
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, "\1", 1) = -1 EINVAL (Invalid argument)
setsockopt(3, SOL_TCP, TCP_NODELAY, "\1", 1) = -1 EINVAL (Invalid argument)

after patch:
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0

tested on linux 3.10.25 x86_64