Make non-http request with node.js

I'm looking for a way to query a non-http url, i.e. a want to make a request in my node.js not using the HTTP-protocol (nor HTTPS). Node.js does offer the HTTP package which helps to build and execute a http-call. Does something similar exists for using an abitrary protocol?

The protocol is important. Actually the protocol is vital. URLs specify where to go, and specify how. There's a world of difference between ftp:// and http:// and https:// and magnet:// and a variety of others. You can achieve ALL of it using sockets. But sounds like you want a high-level packet to make your connection easy - and that just isn't generically possible for all protocols.