diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs
index a4664573..ca94017f 100644
--- a/websocket-sharp/Server/WebSocketBehavior.cs
+++ b/websocket-sharp/Server/WebSocketBehavior.cs
@@ -27,6 +27,7 @@
#endregion
using System;
+using System.Collections.Specialized;
using System.IO;
using WebSocketSharp.Net;
using WebSocketSharp.Net.WebSockets;
@@ -72,6 +73,23 @@ namespace WebSocketSharp.Server
#region Protected Properties
+ ///
+ /// Gets the HTTP headers included in a WebSocket handshake request.
+ ///
+ ///
+ ///
+ /// A that contains the headers.
+ ///
+ ///
+ /// if the session has not started yet.
+ ///
+ ///
+ protected NameValueCollection Headers {
+ get {
+ return _context != null ? _context.Headers : null;
+ }
+ }
+
///
/// Gets the logging function.
///