Fixing an issue where the socketURL and the data.currentTarget.url would be different

Fixing #2

Normalizing the hashKey so that socketURL and the internal socket url
are always the same