Stringprep [RFC 3494] - pure Ruby implementation