code: public String reasonText() {
          ByteBuf binaryData = content();
          if (binaryData == null || binaryData.capacity() <= 2) {
              return "";
          }
  
          binaryData.readerIndex(2);
          String reasonText = binaryData.toString(CharsetUtil.UTF_8);
          binaryData.readerIndex(0);
  
          return reasonText;
      }
docs: Returns the reason text as per <a href="http://tools.ietf.org/html/rfc6455#section-7.4">RFC 6455</a> If a reason
  text is not supplied, an empty string is returned.