code: public static void setHTTPVersion(Stub stub, boolean http10) {
          stub._setProperty(MessageContext.HTTP_TRANSPORT_VERSION,
                            (http10)
                            ? HTTPConstants.HEADER_PROTOCOL_V10
                            : HTTPConstants.HEADER_PROTOCOL_V11);
      }
docs: Sets on option on the stub to control what HTTP protocol
  version should be used.
  
  @param stub The stub to set the property on
  @param http10 If true, HTTP 1.0 will be used. Otherwise HTTP 1.1
  will be used.