Experimental patch

Added md5 for peer_hash + xbt urls support. Need testing.