move proc code to sock2proc
add .gitignore