There is an existing extension:
https://github.com/firebug/websocket-monitor
...that uses ReactJS (and Redux) to build a side panel with tabs.
You might want to get some inspiration from it.
I can also provide simpler example that shows how to
build the side bar if it's useful.
Honza