basic message packaging and sending for chrome