fix ssl self-signed tests for node v0.11