added get/set opt methods, added license file
get/set sockopt methods