Made the timeout an argument of almost all client procedures.

Also removed deprecated, backwards-compatible codecs.