'NoneType' object is not subscriptable

Pull request is for change in 5169ce62f4edc614a9a9b0da61f68c2c187d9bf2.  

When running the example `zerorpc --server --bind tcp://*:1234 time`` then connecting with a client the following error is encountered: ``TypeError: 'NoneType' object is not subscriptable``.