Gowtham H N

Results 2 issues of Gowtham H N

# Description Made the writeHeader calls non superfluous. ## Issue reference https://github.com/dapr/go-sdk/issues/618 Please reference the issue this PR will close: #618

Describe the bug Superfluous writeHeader calls are made in the registerBaseHandler function of topic.go file. `http: superfluous response.WriteHeader call from github.com/dapr/go-sdk/service/http.(*Server).registerBaseHandler.func6 (topic.go:200)` **To Reproduce** Here's the sample code to reproduce...

bug