test: update client malformed test for node v0.11

The 'spaces in path' error is now caught early in the client,
since it's never valid HTTP.  Update the test to handle this.