fix dl path to work on herku
socket.io change
add doc lock feature