After URI::ws is installed, the URI package provides the same set of methods for WebSocket URIs as it does for HTTP ones. For secure WebSockets, see URI::wss. WWW: http://search.cpan.org/dist/URI-ws/