Add license to readme
Fix how options are passed to connect callback