Fixes bug in PATCH method. Sets the method before setting the body.

Just look at PUT and POST methods some lines above. The method is set 
before calling to addBodyIfExists().

The method should be set before adding the body. Otherwise, some libraries will
try to establish a connection with the wrong method (GET by default). 

Change-Id: I993a62cdc5cbccbf54f9bae4f6b183e2edf4304d
diff --git a/src/com/android/volley/toolbox/HurlStack.java b/src/com/android/volley/toolbox/HurlStack.java
index 49bdf6a..31d57f0 100644
--- a/src/com/android/volley/toolbox/HurlStack.java
+++ b/src/com/android/volley/toolbox/HurlStack.java
@@ -223,8 +223,8 @@
                 connection.setRequestMethod("TRACE");
                 break;
             case Method.PATCH:
-                addBodyIfExists(connection, request);
                 connection.setRequestMethod("PATCH");
+                addBodyIfExists(connection, request);
                 break;
             default:
                 throw new IllegalStateException("Unknown method type.");