set stdin/stdout file descriptor non blocking

It seems that even if select says these file descriptors are ready for
writing (and thus the write operation should not block), it can still
sometime blocks in the os.write call...
increase ami-proxy default max size

10 MiB might be a bit low.