Fix localAddress test on OS X

Don't test the error message because on OS X it's EADDRNOTAVAIL instead of EINVAL.  (We leave in the test that an error occurs, and the message wasn't tested before the test suite rewrite either.)

Would appreciate confirmation from @mikeal / @seanstrom / @emkay that this works as intended.  If so, this fixes #1148.