Added helper func for duration and skip Get prefix

SockOptDuration and SetSockOptDuration is two simple helper functions
which transforms options in duration format using a given unit.

Also removed the Get prefix from all getters. Prefixing methods with Get
is not encouraged in Go.