Node xmlhttprequest expects protocol