code: public void writeFrame(byte[] frame) throws IOException {
          lastUsedTime = System.currentTimeMillis();
          out.write(frame);
          out.flush();
      }
docs: Write a frame in bytes to the wire. This method is useful for writing a
  data or a compressed frame to the wire.
  
  @param frame
  @throws IOException