move logical space trim to httphelper
added remove_spaces_with

new points of removing: getResource and httpHelper