send OK on CAPABILITY
fixed connection unittest
remove extra Close call, wrap conn in buffered reader
updated compiled connection