more buffer tests.
move zsockopt functions to zsocket, removed module.