fix: handle http response code 307 - temporary redirect (#571)
fix: handle http response code 307 - temporary redirect (#571)

Previously the SDK throws below exception when it gets response code 307.

```
java.io.EOFException: input contained no data
        at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
        at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
        at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
        at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
        at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
        at com.google.api.client.xml.Xml.parseElementInternal(Xml.java:245)
        at com.google.api.client.xml.Xml.parseElement(Xml.java:222)
        at io.minio.messages.XmlEntity.parseXml(XmlEntity.java:75)
        at io.minio.messages.ErrorResponse.parseXml(ErrorResponse.java:159)
        at io.minio.messages.ErrorResponse.<init>(ErrorResponse.java:64)
        at io.minio.MinioClient.execute(MinioClient.java:970)
        at io.minio.MinioClient.executePut(MinioClient.java:1197)
        at io.minio.MinioClient.makeBucket(MinioClient.java:2597)
        at io.minio.MinioClient.makeBucket(MinioClient.java:2554)
        at FunctionalTest.makeBucket_test1(FunctionalTest.java:86)
        at FunctionalTest.runTests(FunctionalTest.java:1264)
        at FunctionalTest.main(FunctionalTest.java:1380)
```

This patch handles response code and returns Amazon S3 error.

minio/minio-java,vadmeste/minio-java,balamurugana/minio-java