Fix deprecated constant. (#9)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index a6d8a92..057b673 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.2.2+2
+
+* Stopped using deprected `HTML_ESCAPE` constant name.
+
 ## 0.2.2+1
 
 * Updated SDK version to 2.0.0-dev.17.0
diff --git a/lib/src/web_socket_handler.dart b/lib/src/web_socket_handler.dart
index e5d4bed..f1acc9f 100644
--- a/lib/src/web_socket_handler.dart
+++ b/lib/src/web_socket_handler.dart
@@ -117,8 +117,8 @@
   ///
   /// [title] and [message] will be automatically HTML-escaped.
   Response _htmlResponse(int statusCode, String title, String message) {
-    title = HTML_ESCAPE.convert(title);
-    message = HTML_ESCAPE.convert(message);
+    title = htmlEscape.convert(title);
+    message = htmlEscape.convert(message);
     return new Response(statusCode, body: """
       <!doctype html>
       <html>
diff --git a/pubspec.yaml b/pubspec.yaml
index 3b80906..c187250 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: shelf_web_socket
-version: 0.2.2+1
+version: 0.2.2+2
 author: "Dart Team <misc@dartlang.org>"
 homepage: http://github.com/dart-lang/shelf_web_socket
 description: >