Given a socket state number, return a string representation
sock_state_num2str:string(state:long)
state
The state number