Remove old unused socket-impl file from previous iteration
Changed my mind and implemented opcode.js, tests updated to include opcode hooks and to dedupe other code