Fixed segfault in Core when calling Listener::recv