Extended (for https/ssl) and fixed the HttpMessagePublisher