Socket + Cache working (tested on localhost only).