Allows creating of listens and clients with a hash