code: public static int expectHCOLON(final Buffer buffer) throws SipParseException {
          final int consumed = expectHCOLONStreamFriendly(buffer);
          if (consumed == -1) {
              // -1 means we ran out of bytes in the stream but in those
              // cases where we are not really dealing with a stream we
              // would expect an IndexOutOfBoundsException so let's make
              // sure to still honor that...
              throw new IndexOutOfBoundsException();
          }
          return consumed;
      }
docs: Convenience method for expecting (and consuming) a HCOLON, which is
  defined as:
  
  HCOLON = *( SP / HTAB ) ":" SWS
  
  See RFC3261 section 25.1 Basic Rules