Expose sockets to plugins