coreclient: Make connect timeout configurable

Signed-off-by: Michael Buesch <m@bues.ch>