binding context for socket methods