Fixing tests for node 0.10.33 and fixed "Host" request header

more details in commit messages