modify raw http and socket implement to fit coroutine call for yield can not be called in meta-method