adding http request method option
added noderequest functionality, now node can send http longpoll requests as well