Add listen and connect methods