add option for specifying what interface to bind to