Changed APIHistory to record storage based on Request Header. Removed 'Request by Collection' legend to accommodate large collection counts preventing the chart from fitting inside the panel.
Moves SocketIO setup to separate file.