Socket-based layer on top of browser interface