Bug fix; strlen/substr for resolution extension. See: websharks/s2member#179