Reduced over-include in libprocess Socket.

Timeout only uses clock. Reduce inclusion to clock as opposed to all
of process.hpp. This helps prevent circular dependency when we include
future in socket.hpp.

Review: https://reviews.apache.org/r/27024