updated comment.
Added support for inverse chevron.
Replaced XmlReader with HttpUrlConnection, so that connection timeout can be set.