You'd have to develop an app that handled all few hundred protocols. If I want to connect to an email server, using a web protocol wouldn't work.
But there is a program that does, and it was written long before cellphones were thought of - telnet. It can connect to any server by name or IP address, using any protocol on any port. and it's a really small app on almost any operating system, because the data is in the user's head, not in the app.
Writing an app that would do all that without the user having to have the knowledge would probably produce an app that wouldn't fit into any Android device.