Small bugfix
use length in random String creation
also removes HTTP connector dependency of this class