Fixed the test for getpeername(2).
Fixed to print "0".
Implemented getpeername(2) in Java.