Connections

Why not strip the command-ending character also from the retrieved data? I doubt there are protocols by which the ending sequence differs for sending and retrieving. An even if so, it is checked before stripped in `recv`.