program dumps core when getpeername() returns EINVAL (#1085)
Merge pull request #1089 from jkryl/master

program dumps core when getpeername() returns EINVAL (#1085)