Support latest version of Node

I made changes to support the latest version of Node many functions of which are now asynchronous. I also had to parse the m-search response manually as the HTTP response parser was failing for some reason from UPNP devices on my network.