use URI.pm to do proper URL parsing.

As described in issue #3 , this pull request contains the patch to use URI.pm to do proper url parsing

     https://github.com/makamaka/AnyEvent-PocketIO-Client/issues/3

URI->port() returns 80 or 443 if the URL does not contains port.