Added new test cases for stratum processing, still issues with non p2pools
Add reference implementation