Handle unresolved addresss and return same error as moar.
Implement cancel for AsyncServerSocketHandle.