I doubt there is much between them. The bulk of the work will be in the transport stack, which would be handled by the network interface rather than your sketch. All the protocols you're talking about are simple text based protocols. The only things that may trip you up are that if you use a protocol library that has features you don't need that may waste space, and if you're accessing a service that requires encryption or authentication then that would substantially increase the size and complexity of the client.