Tried adding setsockopt to init; Added locks to accept ; Changed master_fd to fd in get_request; NOTE: There is a segfault. I suspect it's due to get_request