title: Accessing a WCF MessageHeader when OperationContext.Current is null
body: <p>I have a WCF that is being secured using a custom UserNamePasswordValidator.  I need to access  what normally would be available in:</p>
  
  <pre><code>OperationContext.Current.RequestContext.RequestMessage.Headers.To
  </code></pre>
  
  <p>so I can parse the URL.
  However, OperationContext.Current is null.  Is there a way to get at the message header without OperationContext?</p>