connect middleware binding for ipl.js