Fix the 'make test' target

Signed-off-by: David Scott <dave.scott@citrix.com>
test: avoid hard-coding the path to 'true'

Signed-off-by: David Scott <dave.scott@citrix.com>
Fix socket handling on OS X

If a Unix socket fails in Unix.connect, then the socket must be
closed and re-opened, otherwise the second attempt to connect will
receive EINVAL on OS X (not Linux)

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #10 from djs55/osx

Now works on OS X