Two fixes

- pass mailbox interface when creating TCP listener
- fix const error