Set :platform key on event-info map

There was a typo in `capture`: we were setting the `:plaform` key rather than the `:platform` key.

I wanted to write a test to prevent the bug from reappearing, but this required `send-packet` not to be private. If this is a problem, the packet sending code could be moved from `core` to a separate namespace.