HttpString: add fromString() method