fix even more codacy issues
BrowserDetect prototype oop
Build prototype oop
Agent-Socket prototype oop
Client-Socket prototype oop