anchor.diff:    public static org.realityforge.replicant.client.transport.SessionContext getSessionContext()
     {
       return c_sessionContext;
  +  }
  +
  +  {
  +    getSessionContext().setBaseURL( com.google.gwt.core.client.GWT.getHostPageBaseURL() );
     }
   <% end %>
   <%
  
positive.code: <%
    end
  %>
    private static String c_baseURL;
  
    public static void setBaseURL( @javax.annotation.Nonnull final String baseURL )
    {
      if( null != c_baseURL )
      {
        throw new IllegalStateException( "Attempting to re-initialize base url." );
      }
      else if( null == baseURL )
      {
        throw new IllegalStateException( "Attempting to initialize base url to null." );
      }
      c_baseURL = baseURL;
    }
  
    public static String getBaseURL()
    {
      return null == c_baseURL ? com.google.gwt.core.client.GWT.getHostPageBaseURL() : c_baseURL;
    }
  
    public static void initialize( final String moduleName<% if needs_xsrf %>, final com.google.gwt.user.client.rpc.XsrfToken xsrfToken<% end -%> )
    {
  
negative.code: <% if service.imit? -%>
      ( (com.google.gwt.user.client.rpc.ServiceDefTarget) service ).setRpcRequestBuilder( new <%= repository.gwt_rpc.qualified_rpc_request_builder_name %>( c_sessionContext ) );
  <% end -%>
      ( (com.google.gwt.user.client.rpc.ServiceDefTarget) service ).setServiceEntryPoint( getSessionContext().getBaseURL() + "<%= repository.gwt_rpc.module_name %>/" + <%= service.gwt_rpc.qualified_rpc_service_name %>.PATH );
      return service;
    }
  <%
  