make server validation more lenient

validation worked in node v0.8.22, but this fixes for v0.8.23
0.1.2