Updated api url so it works on node 0.11

Hey guys,

I have made a very minor update so the library works on  node 0.11. It simply adds the port number in the url.

Please accept and push latest version to npm.