moved buffer and socket extensions to BufferedSocket class