[ruby-2.0] fixed socket invalid multibyte escape error