sockets: fix states starting at 1 not 0
sockets: fix states starting at 1 not 0

skydive-project/skydive,lebauce/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,skydive-project/skydive,lebauce/skydive,safchain/skydive,safchain/skydive,lebauce/skydive,safchain/skydive,skydive-project/skydive,skydive-project/skydive,safchain/skydive,safchain/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive