Linux does not have getpeereid(2).
fix reading wrong variable.
getaddrinfo("localhost") may return 2 or more.
using mruby-mtest on test/socket.rb.