Added unit test for windows-1251
More unit tests. Fixed emoji test case.
Fixed #1002: implemented operationqueue callback for smtp/nntp/pop