Remove redundant method
Fix #209 - Set errno on SocketBase instead of throwing IllegalArgumentException