Infer the serializer from the message command

Hi perone, thanks for this great base implementation of bitcoin!

When writing my client, I find it tedious to instantiate serializers each time I send a message. Can't it just be inferred from the message command, like it is for deserializing received messages?