Add set_timeout and get_timeout methods

I add two methods: *set_timeout* and *get_timeout*. They simply call *settimeout* and *get_timeout* on underlying socket object.

Maybe for someone this can be useful.