Use int to indicate sock CPU affinity instead of bitmask.

Signed-off-by: Xiaofeng Lin <jerrylin.lxf@gmail.com>