gh-43: incorrect socket:shutdown() arg handling. fixes #43
Merge branch 'gh-43-socket-shutdown-fix' into stable