smarter parsing on shard host urls
fixes HADOOP-152
(cherry picked from commit c8939e6)
default to 1.4.0-SNAPSHOT