add timeout and socket path to get_direct_client
add timeout and socket path to get_direct_client

Reviewed By: yfeldblum

Differential Revision: D15367038

fbshipit-source-id: 2c2ad16e1d3cda8050f96b14061f5e1dd5e84333

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift