Moved get_param to __init__, to avoid creating zombie sockets with each call.