Prototype of an HTTP server understanding media queries and injecting them to window.sessionStorage