fix for node 0.6 certificate error