Fixed the constructor typehint for the client

Passing null for the client is invalid. It would trigger fatal errors when
using the driver.
Merge pull request #65 from stof/fix_typehint

Fixed the constructor typehint for the client