define constants for the default send and receive timeouts

In order to make the code a little more readable, I defined some constants for the default send and receive timeouts.