title: Creating topic on pubsub emulator
body: <p>I started to use the pubsub emulator to test my basic implementations and ran into an issue while trying to create a new topic.</p>
  
  <p>My emulator listens on localhost:8085 and if i create the topic via the api</p>
  
  <pre><code>PUT http://localhost:8085/v1/projects/testproject/topics/test
  </code></pre>
  
  <p>everything works fine and the topic gets created.
  But if i run the following snippet nothing works as intended and no topic gets created:</p>
  
  <pre><code>    TopicName topicName = TopicName.create("testproject", "test");
      ChannelProvider channelProvider =
              TopicAdminSettings.defaultChannelProviderBuilder()
                  .setEndpoint("localhost:8085")
                  .setCredentialsProvider(
                          FixedCredentialsProvider.create(NoCredentials.getInstance()))
                  .build();
      TopicAdminClient topicClient = TopicAdminClient.create(
              TopicAdminSettings.defaultBuilder().setChannelProvider(channelProvider).build());
          topicClient.createTopic(topicName);
  </code></pre>
  
  <p>while running this the emulator logs </p>
  
  <pre><code>[pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.grpc.GrpcServer$3 operationComplete
  [pubsub] INFORMATION: Adding handler(s) to newly registered Channel.
  [pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
  [pubsub] INFORMATION: Detected non-HTTP/2 connection.
  [pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
  [pubsub] INFORMATION: Unknown request URI: /bad-request
  [pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.grpc.GrpcServer$3 operationComplete
  [pubsub] INFORMATION: Adding handler(s) to newly registered Channel.
  [pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
  [pubsub] INFORMATION: Detected non-HTTP/2 connection.
  [pubsub] Apr 27, 2017 1:10:47 PM io.gapi.emulators.netty.NotFoundHandler handleRequest
  [pubsub] INFORMATION: Unknown request URI: /bad-request
  
  ...    
  
  [pubsub] Apr 27, 2017 1:10:49 PM io.gapi.emulators.grpc.GrpcServer$3 operationComplete
  [pubsub] INFORMATION: Adding handler(s) to newly registered Channel.
  [pubsub] Apr 27, 2017 1:10:49 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
  [pubsub] INFORMATION: Detected non-HTTP/2 connection.
  </code></pre>
  
  <p>Am i missing something on my ChannelProvider? Or didn't I configure my TopicAdminClient correctly? I don't see whats wrong since i used 
  <a href="https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/TESTING.md#testing-code-that-uses-pubsub" rel="noreferrer">this as reference</a>.</p>
  
  <p>Maybe someone can help me out with this.</p>