Make rel cleares shared dir.
socket returns the protocol now.
socket returns the protocol now.