socket-fs implementation