Fixed bug for big buffers, implemented first blocking PHP client.