Adds pack method for std::vector.
Adds send and on_message methods that take up to 6 arguments.